﻿using System.Collections.Generic;
using Infrastructure.ExternalService.Core.User;

namespace Infrastructure.ExternalService.Core.Role
{
    public class GetEmpByRoleIdRequest
    {
        public string pageIndex { get; set; } = "0";

        public string pageSize { get; set; } = "100";



        public string eeRole { get; set; }
        public  string eeBrand { get; set; }
        public  string dptId { get; set; }
        public  string schoolId { get; set; }
        
        /// <summary>
        /// 默认在职
        /// </summary>
        public string eeWorkstatus { get; set; } = "O";
        /// <summary>
        /// 默认员工正式
        /// </summary>
        public string eeOfficialstatus { get; set; } = "O";
        

    }

    public class EmpInfo
    {
        public  string userId { get; set; }
        public  string userName { get; set; }
        public string dptId { get; set; }
        public string schoolId { get; set; }
        public string schoolName { get; set; }
        public string dptName { get; set; }
        public string posId { get; set; }
        public string posName { get; set; }

    }

    public class GetEmpByRoleIdResponse
    {
        public IEnumerable<EmpInfo> data { get; set; }

        public int  count { get; set; }
    }
}